package ai.people.netmon.framework.domain.system.request;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * @author yuanqinglong
 * @date 2022/4/2 17:30
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class NmSystemUpdateUserParam extends NmSystemUserAllParam{

    /**
     * id
     */
    @NotNull(message = "id不可为空")
    private Long id;

    /**
     * 密码
     *
     * @mock 222888
     */
    @Length(max = 30, message = "密码长度最长为{max}")
    private String password;
}
